﻿namespace ElencySolutions.MultipleProperty.Extensions
{
    /// <summary>
    /// Class containing various extension methods
    /// </summary>
    public static class Extensions
    {

        /// <summary>
        /// Returns the presentation version of a html string
        /// </summary>
        /// <param name="html">The HTML.</param>
        /// <returns></returns>
        public static string ToPresentationString(this string html)
        {
            return string.IsNullOrEmpty(html) ? html : MultiplePropertyHelper.ToPresentationString(html);
        }
    }
}
